package com.xuecheng.swagger.controller;

import com.xuecheng.swagger.pojo.Student;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;


@Api(value="hello controller",tags = "hello controller api 接口")
public interface HelloApi {

    @ApiOperation("修改学员编号")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id",value = "学员的id值",required = true,dataType = "String",paramType = "path"),
            @ApiImplicitParam(name = "naame",value = "学员的名称",required = true,dataType = "String",paramType = "query")
    })
    Student mofidyStudentBynNum( String id,
                                 String name,
                                 Student student);
}
